package com.ztesoft.web.common.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class DmSecondaryStageArg {
    private String pk_name = "DM_SECONDARY_INFO_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<DmSecondaryStageCriteria> oredCriteria;

    public DmSecondaryStageArg() {
        oredCriteria = new ArrayList<DmSecondaryStageCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<DmSecondaryStageCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(DmSecondaryStageCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public DmSecondaryStageCriteria or() {
    	DmSecondaryStageCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public DmSecondaryStageCriteria createCriteria() {
    	DmSecondaryStageCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected DmSecondaryStageCriteria createCriteriaInternal() {
    	DmSecondaryStageCriteria criteria = new DmSecondaryStageCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<DmSecondaryStageCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<DmSecondaryStageCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<DmSecondaryStageCriterion> getAllCriteria() {
            return criteria;
        }

        public List<DmSecondaryStageCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new DmSecondaryStageCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new DmSecondaryStageCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new DmSecondaryStageCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new DmSecondaryStageCriterion(condition, value1, value2));
        }

        public DmSecondaryStageCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andDmSecondaryInfoIdIsNull() {
            addCriterion("DM_SECONDARY_INFO_ID is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdIsNotNull() {
            addCriterion("DM_SECONDARY_INFO_ID is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdEqualTo(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID =", value, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdNotEqualTo(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID <>", value, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdGreaterThan(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID >", value, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID >=", value, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdLessThan(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID <", value, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID <=", value, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdLike(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID like ", value, "DM_SECONDARY_INFO_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdNotLike(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID  not like ", value, "DM_SECONDARY_INFO_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdLeftLike(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID like ", value, "DM_SECONDARY_INFO_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdNotLeftLike(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID  not like ", value, "DM_SECONDARY_INFO_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdRightLike(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID like ", value, "DM_SECONDARY_INFO_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdNotRightLike(Integer value) {
            addCriterion("DM_SECONDARY_INFO_ID  not like ", value, "DM_SECONDARY_INFO_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdIn(List<Integer> values) {
            addCriterion("DM_SECONDARY_INFO_ID  in ", values, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdNotIn(List<Integer> values) {
            addCriterion("DM_SECONDARY_INFO_ID not in ", values, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("DM_SECONDARY_INFO_ID between ", value1, value2, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmSecondaryInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_SECONDARY_INFO_ID not between ", value1, value2, "DM_SECONDARY_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andDmTaskIdIsNull() {
            addCriterion("DM_TASK_ID is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdIsNotNull() {
            addCriterion("DM_TASK_ID is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdEqualTo(Integer value) {
            addCriterion("DM_TASK_ID =", value, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdNotEqualTo(Integer value) {
            addCriterion("DM_TASK_ID <>", value, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdGreaterThan(Integer value) {
            addCriterion("DM_TASK_ID >", value, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_TASK_ID >=", value, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdLessThan(Integer value) {
            addCriterion("DM_TASK_ID <", value, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdLessThanOrEqualTo(Integer value) {
            addCriterion("DM_TASK_ID <=", value, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdLike(Integer value) {
            addCriterion("DM_TASK_ID like ", value, "DM_TASK_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdNotLike(Integer value) {
            addCriterion("DM_TASK_ID  not like ", value, "DM_TASK_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdLeftLike(Integer value) {
            addCriterion("DM_TASK_ID like ", value, "DM_TASK_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdNotLeftLike(Integer value) {
            addCriterion("DM_TASK_ID  not like ", value, "DM_TASK_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdRightLike(Integer value) {
            addCriterion("DM_TASK_ID like ", value, "DM_TASK_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdNotRightLike(Integer value) {
            addCriterion("DM_TASK_ID  not like ", value, "DM_TASK_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdIn(List<Integer> values) {
            addCriterion("DM_TASK_ID  in ", values, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdNotIn(List<Integer> values) {
            addCriterion("DM_TASK_ID not in ", values, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdBetween(Integer value1, Integer value2) {
            addCriterion("DM_TASK_ID between ", value1, value2, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmTaskIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_TASK_ID not between ", value1, value2, "DM_TASK_ID");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andDmStrategyIdIsNull() {
            addCriterion("DM_STRATEGY_ID is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdIsNotNull() {
            addCriterion("DM_STRATEGY_ID is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdEqualTo(Integer value) {
            addCriterion("DM_STRATEGY_ID =", value, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdNotEqualTo(Integer value) {
            addCriterion("DM_STRATEGY_ID <>", value, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdGreaterThan(Integer value) {
            addCriterion("DM_STRATEGY_ID >", value, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_STRATEGY_ID >=", value, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdLessThan(Integer value) {
            addCriterion("DM_STRATEGY_ID <", value, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdLessThanOrEqualTo(Integer value) {
            addCriterion("DM_STRATEGY_ID <=", value, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdLike(Integer value) {
            addCriterion("DM_STRATEGY_ID like ", value, "DM_STRATEGY_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdNotLike(Integer value) {
            addCriterion("DM_STRATEGY_ID  not like ", value, "DM_STRATEGY_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdLeftLike(Integer value) {
            addCriterion("DM_STRATEGY_ID like ", value, "DM_STRATEGY_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdNotLeftLike(Integer value) {
            addCriterion("DM_STRATEGY_ID  not like ", value, "DM_STRATEGY_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdRightLike(Integer value) {
            addCriterion("DM_STRATEGY_ID like ", value, "DM_STRATEGY_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdNotRightLike(Integer value) {
            addCriterion("DM_STRATEGY_ID  not like ", value, "DM_STRATEGY_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdIn(List<Integer> values) {
            addCriterion("DM_STRATEGY_ID  in ", values, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdNotIn(List<Integer> values) {
            addCriterion("DM_STRATEGY_ID not in ", values, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdBetween(Integer value1, Integer value2) {
            addCriterion("DM_STRATEGY_ID between ", value1, value2, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmStrategyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_STRATEGY_ID not between ", value1, value2, "DM_STRATEGY_ID");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andDmInfoIdIsNull() {
            addCriterion("DM_INFO_ID is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdIsNotNull() {
            addCriterion("DM_INFO_ID is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdEqualTo(Integer value) {
            addCriterion("DM_INFO_ID =", value, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdNotEqualTo(Integer value) {
            addCriterion("DM_INFO_ID <>", value, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdGreaterThan(Integer value) {
            addCriterion("DM_INFO_ID >", value, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DM_INFO_ID >=", value, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdLessThan(Integer value) {
            addCriterion("DM_INFO_ID <", value, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("DM_INFO_ID <=", value, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdLike(Integer value) {
            addCriterion("DM_INFO_ID like ", value, "DM_INFO_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdNotLike(Integer value) {
            addCriterion("DM_INFO_ID  not like ", value, "DM_INFO_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdLeftLike(Integer value) {
            addCriterion("DM_INFO_ID like ", value, "DM_INFO_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdNotLeftLike(Integer value) {
            addCriterion("DM_INFO_ID  not like ", value, "DM_INFO_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdRightLike(Integer value) {
            addCriterion("DM_INFO_ID like ", value, "DM_INFO_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdNotRightLike(Integer value) {
            addCriterion("DM_INFO_ID  not like ", value, "DM_INFO_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdIn(List<Integer> values) {
            addCriterion("DM_INFO_ID  in ", values, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdNotIn(List<Integer> values) {
            addCriterion("DM_INFO_ID not in ", values, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("DM_INFO_ID between ", value1, value2, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andDmInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DM_INFO_ID not between ", value1, value2, "DM_INFO_ID");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andSourceDataIdIsNull() {
            addCriterion("SOURCE_DATA_ID is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdIsNotNull() {
            addCriterion("SOURCE_DATA_ID is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID =", value, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdNotEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <>", value, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdGreaterThan(Integer value) {
            addCriterion("SOURCE_DATA_ID >", value, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID >=", value, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdLessThan(Integer value) {
            addCriterion("SOURCE_DATA_ID <", value, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdLessThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <=", value, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdNotLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdNotLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdNotRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID  in ", values, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdNotIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID not in ", values, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID between ", value1, value2, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andSourceDataIdNotBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID not between ", value1, value2, "SOURCE_DATA_ID");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andCheckObjNameIsNull() {
            addCriterion("CHECK_OBJ_NAME is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameIsNotNull() {
            addCriterion("CHECK_OBJ_NAME is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameEqualTo(String value) {
            addCriterion("CHECK_OBJ_NAME =", value, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameNotEqualTo(String value) {
            addCriterion("CHECK_OBJ_NAME <>", value, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameGreaterThan(String value) {
            addCriterion("CHECK_OBJ_NAME >", value, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameGreaterThanOrEqualTo(String value) {
            addCriterion("CHECK_OBJ_NAME >=", value, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameLessThan(String value) {
            addCriterion("CHECK_OBJ_NAME <", value, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameLessThanOrEqualTo(String value) {
            addCriterion("CHECK_OBJ_NAME <=", value, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameLike(String value) {
            addCriterion("CHECK_OBJ_NAME like ", value, "CHECK_OBJ_NAME", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameNotLike(String value) {
            addCriterion("CHECK_OBJ_NAME  not like ", value, "CHECK_OBJ_NAME", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameLeftLike(String value) {
            addCriterion("CHECK_OBJ_NAME like ", value, "CHECK_OBJ_NAME", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameNotLeftLike(String value) {
            addCriterion("CHECK_OBJ_NAME  not like ", value, "CHECK_OBJ_NAME", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameRightLike(String value) {
            addCriterion("CHECK_OBJ_NAME like ", value, "CHECK_OBJ_NAME", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameNotRightLike(String value) {
            addCriterion("CHECK_OBJ_NAME  not like ", value, "CHECK_OBJ_NAME", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameIn(List<String> values) {
            addCriterion("CHECK_OBJ_NAME  in ", values, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameNotIn(List<String> values) {
            addCriterion("CHECK_OBJ_NAME not in ", values, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameBetween(String value1, String value2) {
            addCriterion("CHECK_OBJ_NAME between ", value1, value2, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCheckObjNameNotBetween(String value1, String value2) {
            addCriterion("CHECK_OBJ_NAME not between ", value1, value2, "CHECK_OBJ_NAME");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andStageIsNull() {
            addCriterion("STAGE is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageIsNotNull() {
            addCriterion("STAGE is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageEqualTo(Integer value) {
            addCriterion("STAGE =", value, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageNotEqualTo(Integer value) {
            addCriterion("STAGE <>", value, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageGreaterThan(Integer value) {
            addCriterion("STAGE >", value, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageGreaterThanOrEqualTo(Integer value) {
            addCriterion("STAGE >=", value, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageLessThan(Integer value) {
            addCriterion("STAGE <", value, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageLessThanOrEqualTo(Integer value) {
            addCriterion("STAGE <=", value, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageLike(Integer value) {
            addCriterion("STAGE like ", value, "STAGE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageNotLike(Integer value) {
            addCriterion("STAGE  not like ", value, "STAGE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageLeftLike(Integer value) {
            addCriterion("STAGE like ", value, "STAGE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageNotLeftLike(Integer value) {
            addCriterion("STAGE  not like ", value, "STAGE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageRightLike(Integer value) {
            addCriterion("STAGE like ", value, "STAGE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageNotRightLike(Integer value) {
            addCriterion("STAGE  not like ", value, "STAGE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageIn(List<Integer> values) {
            addCriterion("STAGE  in ", values, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageNotIn(List<Integer> values) {
            addCriterion("STAGE not in ", values, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageBetween(Integer value1, Integer value2) {
            addCriterion("STAGE between ", value1, value2, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStageNotBetween(Integer value1, Integer value2) {
            addCriterion("STAGE not between ", value1, value2, "STAGE");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andStateIsNull() {
            addCriterion("STATE is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateIsNotNull() {
            addCriterion("STATE is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateEqualTo(String value) {
            addCriterion("STATE =", value, "STATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateNotEqualTo(String value) {
            addCriterion("STATE <>", value, "STATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateGreaterThan(String value) {
            addCriterion("STATE >", value, "STATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE >=", value, "STATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateLessThan(String value) {
            addCriterion("STATE <", value, "STATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateLessThanOrEqualTo(String value) {
            addCriterion("STATE <=", value, "STATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateLike(String value) {
            addCriterion("STATE like ", value, "STATE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateNotLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateLeftLike(String value) {
            addCriterion("STATE like ", value, "STATE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateNotLeftLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateRightLike(String value) {
            addCriterion("STATE like ", value, "STATE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateNotRightLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateIn(List<String> values) {
            addCriterion("STATE  in ", values, "STATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateNotIn(List<String> values) {
            addCriterion("STATE not in ", values, "STATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateBetween(String value1, String value2) {
            addCriterion("STATE between ", value1, value2, "STATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateNotBetween(String value1, String value2) {
            addCriterion("STATE not between ", value1, value2, "STATE");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andStateDateIsNull() {
            addCriterion("STATE_DATE is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateIsNotNull() {
            addCriterion("STATE_DATE is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateEqualTo(String value) {
            addCriterion("STATE_DATE =", value, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateNotEqualTo(String value) {
            addCriterion("STATE_DATE <>", value, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateGreaterThan(String value) {
            addCriterion("STATE_DATE >", value, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE_DATE >=", value, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateLessThan(String value) {
            addCriterion("STATE_DATE <", value, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateLessThanOrEqualTo(String value) {
            addCriterion("STATE_DATE <=", value, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateNotLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateLeftLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateNotLeftLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateRightLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateNotRightLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateIn(List<String> values) {
            addCriterion("STATE_DATE  in ", values, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateNotIn(List<String> values) {
            addCriterion("STATE_DATE not in ", values, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateBetween(String value1, String value2) {
            addCriterion("STATE_DATE between ", value1, value2, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andStateDateNotBetween(String value1, String value2) {
            addCriterion("STATE_DATE not between ", value1, value2, "STATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andTaskEndTimeIsNull() {
            addCriterion("TASK_END_TIME is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeIsNotNull() {
            addCriterion("TASK_END_TIME is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeEqualTo(String value) {
            addCriterion("TASK_END_TIME =", value, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeNotEqualTo(String value) {
            addCriterion("TASK_END_TIME <>", value, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeGreaterThan(String value) {
            addCriterion("TASK_END_TIME >", value, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("TASK_END_TIME >=", value, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeLessThan(String value) {
            addCriterion("TASK_END_TIME <", value, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeLessThanOrEqualTo(String value) {
            addCriterion("TASK_END_TIME <=", value, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeLike(String value) {
            addCriterion("TASK_END_TIME like ", value, "TASK_END_TIME", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeNotLike(String value) {
            addCriterion("TASK_END_TIME  not like ", value, "TASK_END_TIME", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeLeftLike(String value) {
            addCriterion("TASK_END_TIME like ", value, "TASK_END_TIME", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeNotLeftLike(String value) {
            addCriterion("TASK_END_TIME  not like ", value, "TASK_END_TIME", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeRightLike(String value) {
            addCriterion("TASK_END_TIME like ", value, "TASK_END_TIME", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeNotRightLike(String value) {
            addCriterion("TASK_END_TIME  not like ", value, "TASK_END_TIME", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeIn(List<String> values) {
            addCriterion("TASK_END_TIME  in ", values, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeNotIn(List<String> values) {
            addCriterion("TASK_END_TIME not in ", values, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeBetween(String value1, String value2) {
            addCriterion("TASK_END_TIME between ", value1, value2, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskEndTimeNotBetween(String value1, String value2) {
            addCriterion("TASK_END_TIME not between ", value1, value2, "TASK_END_TIME");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andTaskStartTimeIsNull() {
            addCriterion("TASK_START_TIME is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeIsNotNull() {
            addCriterion("TASK_START_TIME is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeEqualTo(String value) {
            addCriterion("TASK_START_TIME =", value, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeNotEqualTo(String value) {
            addCriterion("TASK_START_TIME <>", value, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeGreaterThan(String value) {
            addCriterion("TASK_START_TIME >", value, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("TASK_START_TIME >=", value, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeLessThan(String value) {
            addCriterion("TASK_START_TIME <", value, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeLessThanOrEqualTo(String value) {
            addCriterion("TASK_START_TIME <=", value, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeLike(String value) {
            addCriterion("TASK_START_TIME like ", value, "TASK_START_TIME", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeNotLike(String value) {
            addCriterion("TASK_START_TIME  not like ", value, "TASK_START_TIME", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeLeftLike(String value) {
            addCriterion("TASK_START_TIME like ", value, "TASK_START_TIME", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeNotLeftLike(String value) {
            addCriterion("TASK_START_TIME  not like ", value, "TASK_START_TIME", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeRightLike(String value) {
            addCriterion("TASK_START_TIME like ", value, "TASK_START_TIME", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeNotRightLike(String value) {
            addCriterion("TASK_START_TIME  not like ", value, "TASK_START_TIME", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeIn(List<String> values) {
            addCriterion("TASK_START_TIME  in ", values, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeNotIn(List<String> values) {
            addCriterion("TASK_START_TIME not in ", values, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeBetween(String value1, String value2) {
            addCriterion("TASK_START_TIME between ", value1, value2, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTaskStartTimeNotBetween(String value1, String value2) {
            addCriterion("TASK_START_TIME not between ", value1, value2, "TASK_START_TIME");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateEqualTo(String value) {
            addCriterion("CREATE_DATE =", value, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateNotEqualTo(String value) {
            addCriterion("CREATE_DATE <>", value, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateGreaterThan(String value) {
            addCriterion("CREATE_DATE >", value, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE >=", value, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateLessThan(String value) {
            addCriterion("CREATE_DATE <", value, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateLessThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE <=", value, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateNotLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateLeftLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateNotLeftLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateRightLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateNotRightLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateIn(List<String> values) {
            addCriterion("CREATE_DATE  in ", values, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateNotIn(List<String> values) {
            addCriterion("CREATE_DATE not in ", values, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateBetween(String value1, String value2) {
            addCriterion("CREATE_DATE between ", value1, value2, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andCreateDateNotBetween(String value1, String value2) {
            addCriterion("CREATE_DATE not between ", value1, value2, "CREATE_DATE");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andResultCountIsNull() {
            addCriterion("RESULT_COUNT is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountIsNotNull() {
            addCriterion("RESULT_COUNT is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountEqualTo(Integer value) {
            addCriterion("RESULT_COUNT =", value, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountNotEqualTo(Integer value) {
            addCriterion("RESULT_COUNT <>", value, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountGreaterThan(Integer value) {
            addCriterion("RESULT_COUNT >", value, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("RESULT_COUNT >=", value, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountLessThan(Integer value) {
            addCriterion("RESULT_COUNT <", value, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountLessThanOrEqualTo(Integer value) {
            addCriterion("RESULT_COUNT <=", value, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountLike(Integer value) {
            addCriterion("RESULT_COUNT like ", value, "RESULT_COUNT", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountNotLike(Integer value) {
            addCriterion("RESULT_COUNT  not like ", value, "RESULT_COUNT", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountLeftLike(Integer value) {
            addCriterion("RESULT_COUNT like ", value, "RESULT_COUNT", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountNotLeftLike(Integer value) {
            addCriterion("RESULT_COUNT  not like ", value, "RESULT_COUNT", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountRightLike(Integer value) {
            addCriterion("RESULT_COUNT like ", value, "RESULT_COUNT", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountNotRightLike(Integer value) {
            addCriterion("RESULT_COUNT  not like ", value, "RESULT_COUNT", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountIn(List<Integer> values) {
            addCriterion("RESULT_COUNT  in ", values, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountNotIn(List<Integer> values) {
            addCriterion("RESULT_COUNT not in ", values, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountBetween(Integer value1, Integer value2) {
            addCriterion("RESULT_COUNT between ", value1, value2, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultCountNotBetween(Integer value1, Integer value2) {
            addCriterion("RESULT_COUNT not between ", value1, value2, "RESULT_COUNT");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andTotalCountIsNull() {
            addCriterion("TOTAL_COUNT is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountIsNotNull() {
            addCriterion("TOTAL_COUNT is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountEqualTo(Integer value) {
            addCriterion("TOTAL_COUNT =", value, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountNotEqualTo(Integer value) {
            addCriterion("TOTAL_COUNT <>", value, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountGreaterThan(Integer value) {
            addCriterion("TOTAL_COUNT >", value, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("TOTAL_COUNT >=", value, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountLessThan(Integer value) {
            addCriterion("TOTAL_COUNT <", value, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountLessThanOrEqualTo(Integer value) {
            addCriterion("TOTAL_COUNT <=", value, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountLike(Integer value) {
            addCriterion("TOTAL_COUNT like ", value, "TOTAL_COUNT", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountNotLike(Integer value) {
            addCriterion("TOTAL_COUNT  not like ", value, "TOTAL_COUNT", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountLeftLike(Integer value) {
            addCriterion("TOTAL_COUNT like ", value, "TOTAL_COUNT", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountNotLeftLike(Integer value) {
            addCriterion("TOTAL_COUNT  not like ", value, "TOTAL_COUNT", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountRightLike(Integer value) {
            addCriterion("TOTAL_COUNT like ", value, "TOTAL_COUNT", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountNotRightLike(Integer value) {
            addCriterion("TOTAL_COUNT  not like ", value, "TOTAL_COUNT", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountIn(List<Integer> values) {
            addCriterion("TOTAL_COUNT  in ", values, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountNotIn(List<Integer> values) {
            addCriterion("TOTAL_COUNT not in ", values, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountBetween(Integer value1, Integer value2) {
            addCriterion("TOTAL_COUNT between ", value1, value2, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalCountNotBetween(Integer value1, Integer value2) {
            addCriterion("TOTAL_COUNT not between ", value1, value2, "TOTAL_COUNT");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andResultSizeIsNull() {
            addCriterion("RESULT_SIZE is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeIsNotNull() {
            addCriterion("RESULT_SIZE is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeEqualTo(BigDecimal value) {
            addCriterion("RESULT_SIZE =", value, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeNotEqualTo(BigDecimal value) {
            addCriterion("RESULT_SIZE <>", value, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeGreaterThan(BigDecimal value) {
            addCriterion("RESULT_SIZE >", value, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("RESULT_SIZE >=", value, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeLessThan(BigDecimal value) {
            addCriterion("RESULT_SIZE <", value, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("RESULT_SIZE <=", value, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeLike(BigDecimal value) {
            addCriterion("RESULT_SIZE like ", value, "RESULT_SIZE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeNotLike(BigDecimal value) {
            addCriterion("RESULT_SIZE  not like ", value, "RESULT_SIZE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeLeftLike(BigDecimal value) {
            addCriterion("RESULT_SIZE like ", value, "RESULT_SIZE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeNotLeftLike(BigDecimal value) {
            addCriterion("RESULT_SIZE  not like ", value, "RESULT_SIZE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeRightLike(BigDecimal value) {
            addCriterion("RESULT_SIZE like ", value, "RESULT_SIZE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeNotRightLike(BigDecimal value) {
            addCriterion("RESULT_SIZE  not like ", value, "RESULT_SIZE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeIn(List<BigDecimal> values) {
            addCriterion("RESULT_SIZE  in ", values, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeNotIn(List<BigDecimal> values) {
            addCriterion("RESULT_SIZE not in ", values, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("RESULT_SIZE between ", value1, value2, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andResultSizeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("RESULT_SIZE not between ", value1, value2, "RESULT_SIZE");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andTotalSizeIsNull() {
            addCriterion("TOTAL_SIZE is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeIsNotNull() {
            addCriterion("TOTAL_SIZE is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeEqualTo(BigDecimal value) {
            addCriterion("TOTAL_SIZE =", value, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeNotEqualTo(BigDecimal value) {
            addCriterion("TOTAL_SIZE <>", value, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeGreaterThan(BigDecimal value) {
            addCriterion("TOTAL_SIZE >", value, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_SIZE >=", value, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeLessThan(BigDecimal value) {
            addCriterion("TOTAL_SIZE <", value, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_SIZE <=", value, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeLike(BigDecimal value) {
            addCriterion("TOTAL_SIZE like ", value, "TOTAL_SIZE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeNotLike(BigDecimal value) {
            addCriterion("TOTAL_SIZE  not like ", value, "TOTAL_SIZE", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeLeftLike(BigDecimal value) {
            addCriterion("TOTAL_SIZE like ", value, "TOTAL_SIZE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeNotLeftLike(BigDecimal value) {
            addCriterion("TOTAL_SIZE  not like ", value, "TOTAL_SIZE", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeRightLike(BigDecimal value) {
            addCriterion("TOTAL_SIZE like ", value, "TOTAL_SIZE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeNotRightLike(BigDecimal value) {
            addCriterion("TOTAL_SIZE  not like ", value, "TOTAL_SIZE", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeIn(List<BigDecimal> values) {
            addCriterion("TOTAL_SIZE  in ", values, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeNotIn(List<BigDecimal> values) {
            addCriterion("TOTAL_SIZE not in ", values, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_SIZE between ", value1, value2, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andTotalSizeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_SIZE not between ", value1, value2, "TOTAL_SIZE");
            return (DmSecondaryStageCriteria) this;
        }
        public DmSecondaryStageCriteria andNodeIdIsNull() {
            addCriterion("NODE_ID is null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdIsNotNull() {
            addCriterion("NODE_ID is not null");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdEqualTo(Integer value) {
            addCriterion("NODE_ID =", value, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdNotEqualTo(Integer value) {
            addCriterion("NODE_ID <>", value, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdGreaterThan(Integer value) {
            addCriterion("NODE_ID >", value, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("NODE_ID >=", value, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdLessThan(Integer value) {
            addCriterion("NODE_ID <", value, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdLessThanOrEqualTo(Integer value) {
            addCriterion("NODE_ID <=", value, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdLike(Integer value) {
            addCriterion("NODE_ID like ", value, "NODE_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdNotLike(Integer value) {
            addCriterion("NODE_ID  not like ", value, "NODE_ID", 1);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdLeftLike(Integer value) {
            addCriterion("NODE_ID like ", value, "NODE_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdNotLeftLike(Integer value) {
            addCriterion("NODE_ID  not like ", value, "NODE_ID", 0);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdRightLike(Integer value) {
            addCriterion("NODE_ID like ", value, "NODE_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdNotRightLike(Integer value) {
            addCriterion("NODE_ID  not like ", value, "NODE_ID", 2);
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdIn(List<Integer> values) {
            addCriterion("NODE_ID  in ", values, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdNotIn(List<Integer> values) {
            addCriterion("NODE_ID not in ", values, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdBetween(Integer value1, Integer value2) {
            addCriterion("NODE_ID between ", value1, value2, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

        public DmSecondaryStageCriteria andNodeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("NODE_ID not between ", value1, value2, "NODE_ID");
            return (DmSecondaryStageCriteria) this;
        }

    }

    public static class DmSecondaryStageCriteria extends GeneratedCriteria {

        protected DmSecondaryStageCriteria() {
            super();
        }
    }

    public static class DmSecondaryStageCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected DmSecondaryStageCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected DmSecondaryStageCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected DmSecondaryStageCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected DmSecondaryStageCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected DmSecondaryStageCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected DmSecondaryStageCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}